#include "circle.h"
// void Circle::setC(int x, int y, int r)
// {
//     m_center(x, y);
//     m_r = r;
// }

Circle::Circle(int x, int y, int r) : m_center(x, y)
{
    m_r = r;
}
bool Circle::judge(Point &p)
{
    return p.distance(m_center) <= m_r * m_r;
}